package com.tedu.food.sys.dao;

import com.tedu.food.sys.entity.OrderItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrderItemDao {

    Integer insertOrderItems(@Param("entity") List<OrderItem> entity);
    /** 根据订单id删除订单项 */
    Integer deleteOrderItemsByOrderId(Integer id);
}
